golang——關於for循環的學習 1、for循環的用法 (1)常規用法 func main() { slice := []int{1, 2, 3, 4, 5, 6} //方式1 for i := 0; i < l ...